<!DOCTYPE html>
<%@page pageEncoding="UTF-8" contentType="text/html;charset=UTF-8"%>

<%@ taglib uri="http://java.sun.com/jsp/jstl/core" prefix="c" %>
<%@ taglib prefix="EF" uri="/WEB-INF/framework/tlds/EF-2.0.tld" %>
<%
	String actionUrl = request.getContextPath() + "/DispatchAction.do";
%>
<%@page import="com.baosight.iplat4j.core.resource.I18nMessages"%>
<html>
<EF:EFHead includeDefault="true">
	<script type="text/javascript" src="./ZM/zm.js"></script>
	<style type="text/css">
.ef-layout-vertical-middle:before {
	float: right;
}
</style>
</EF:EFHead>
<EF:EFBody>
	<EF:EFForm formId="ZMCC00" method="POST" action="<%=actionUrl%>">
		<EF:EFInput type="hidden" ename="fdCreatorId" cname="登录人Id" />
		<EF:EFInput type="hidden" ename="fdCreator" cname="登录人" />
		<EF:EFInput type="hidden" ename="fdCreateDepartmentId" cname="单位ID" />
		<EF:EFInput type="hidden" ename="fdCreateDepartment" cname="单位" />
		<EF:EFInput type="hidden" ename="fdMiningId" cname="矿井id" />
		<div id="ef_region_inqu" title="查询条件" efRegionShowClear=true efRegionSave=true>
			<div class="row-fluid">
				<div class="span4">
					<EF:EFSelect blockId="inqu_status" row="0" ename="fdBusinessDepartmentId" cname="责任部门：" etc="style='width:133px';">
						<EF:EFOptions blockId="cmes.cp.department" labelColumn="orgName" valueColumn="orgCode"></EF:EFOptions>
					</EF:EFSelect>
				</div>
				<div class="span4">
					<EF:EFSelect blockId="inqu_status" row="0" ename="fdProblemTypeId" cname="问题类型：" etc="style='width:133px';">
						<EF:EFOptions blockId="cmes.cp.problemType" labelColumn="display" valueColumn="value"></EF:EFOptions>
					</EF:EFSelect>
				</div>
				<div class="span4">
					<EF:EFSelect blockId="inqu_status" row="0" ename="fdProblemStatus" cname="问题状态：" etc="style='width:133px';">
						<EF:EFOption label='' value="" />
						<EF:EFOptions blockId="cmes.cp.problemStatus" labelColumn="display" valueColumn="value"></EF:EFOptions>
					</EF:EFSelect>
				</div>
			</div>
			<div class="row-fluid">
				<div class="span4">
					<EF:EFSelect blockId="inqu_status" row="0" ename="fdProblemLevelId" cname="问题级别：" etc="style='width:133px';">
						<EF:EFOptions blockId="cmes.cp.problemLevel" labelColumn="display" valueColumn="value"></EF:EFOptions>
					</EF:EFSelect>
				</div>
				<div class="span4">
					<EF:EFInput blockId="inqu_status" cname="起始日期：" ename="fdBeginDate" row="0" popup="date" dateFormatString="yyyy-MM-dd" etc="style='width:133px';"/>
				</div>
				<div class="span4">
					<EF:EFInput blockId="inqu_status" cname="截止日期：" ename="fdEndDate" row="0" popup="date" dateFormatString="yyyy-MM-dd" etc="style='width:133px';"/>
				</div>
			</div>
		</div>

		<div id="ef_region_result" title="记录集" style="overflow: scroll">
			<div id="ef_grid_result" title="页面信息" style="overflow: hidden; height: 300px;"></div>
		</div>
		<EF:EFRegion />

		<EF:EFGrid title="结果集" blockId="result" autoDraw="no" readonly="false" paintId="ef_grid_result" style="navigationBar:true;operationBar:true" ajax="true">
			<EF:EFColumn ename="fdKeyId" cname="主键" visible="false"></EF:EFColumn>
			<EF:EFComboColumn ename="fdProblemStatus" cname="*问题状态" nullable="false" enable="false" blockName="cmes.cp.problemStatus" labelProperty="display" valueProperty="value" align="center" width="60"/>
			<EF:EFComboColumn ename="fdProblemTypeId" cname="*问题类型" nullable="false" enable="true" blockName="cmes.cp.problemType" labelProperty="display" valueProperty="value" align="center" width="100"/>
			<EF:EFComboColumn ename="fdProblemLevelId" cname="*问题级别" nullable="false" enable="true" blockName="cmes.cp.problemLevel" labelProperty="display" valueProperty="value" align="center" width="60" />
			<EF:EFComboColumn ename="fdProblemOrigin" cname="*问题来源" nullable="false" enable="true" blockName="cmes.cp.problemOrigin" labelProperty="display" valueProperty="value" align="center" width="80" />
			<EF:EFColumn ename="fdProblemPlace" cname="*发生地点" nullable="false" enable="true" validateRegex="/^.{0,250}$/" validateErrorPrompt="输入1~250个字符" width="100" editType="textarea"/>
			<EF:EFColumn ename="fdProblemDescription" cname="*问题描述" nullable="false" enable="true" validateRegex="/^.{0,400}$/" validateErrorPrompt="输入1~400个字符" align="left" width="100" editType="textarea" />
			<EF:EFComboColumn ename="fdBusinessDepartmentId" cname="*责任部门" nullable="false" enable="true" blockName="cmes.cp.department" labelProperty="orgName" valueProperty="orgCode" align="center" width="80" />
			<EF:EFColumn ename="fdBusinessMan" cname="*责任人" nullable="false" enable="true" validateRegex="/^.{1,10}$/" validateErrorPrompt="输入1~10个字符" align="center" width="80" />
			<EF:EFComboColumn ename="fdSubmitorDepartmentId" cname="*提出部门" nullable="false" enable="true" blockName="cmes.cp.department" labelProperty="orgName" valueProperty="orgCode" align="center" width="80" />
			<EF:EFColumn ename="fdSubmitor" cname="*提出人" nullable="false" enable="true" validateRegex="/^\S{1,25}$/" validateErrorPrompt="输入1~25个字符，不能输入空格" align="center" width="80" />
			<EF:EFColumn ename="fdCreateUserId" cname="录入人" enable="true" align="center" width="80" visible="false" />
			<EF:EFColumn ename="fdCreateTime" cname="创建时间" enable="false" dateFormatString="yyyy-MM-dd hh:mm:ss" editType="datetime" visible="false" align="center" width="130"/>
			<EF:EFColumn ename="fdProblemTimeF" cname="*发生时间" nullable="false" enable="true" dateFormat="yyyy-MM-dd hh:mm:ss" editType="datetime" align="center" width="130"></EF:EFColumn>
			<EF:EFColumn ename="fdDeadlineTimeF" cname="*解决时间" nullable="false" enable="true" dateFormat="yyyy-MM-dd hh:mm:ss" editType="datetime" align="center" width="130"></EF:EFColumn>
			<EF:EFComboColumn ename="fdIsRepeat" cname="*是否重复问题" nullable="false" enable="true" blockName="cmes.cp.isCheck" labelProperty="display" valueProperty="value" align="center" width="80" />
			<EF:EFColumn ename="fdIsPenalty" cname="是否罚款" visible="false" align="center" width="80" />
			<EF:EFColumn ename="fdPenaltyIds" cname="罚款记录" visible="false" align="center" width="80" />
			<EF:EFColumn ename="fdRemarks" cname="备注" enable="true" validateRegex="/^.{0,250}$/" validateErrorPrompt="输入1~250个字符" align="center" width="100" editType="textarea" />
		</EF:EFGrid>
	</EF:EFForm>
</EF:EFBody>
</html>